#ifndef __SEU_MACRO_H__
#define __SEU_MACRO_H__
#include <stdio.h>

typedef signed char seu_int8_t;
typedef unsigned char seu_uint8_t;
typedef signed short seu_int16_t;
typedef unsigned short seu_uint16_t;
typedef signed int seu_int32_t;
typedef unsigned int seu_uint32_t;
typedef signed long seu_int64_t;
typedef unsigned long seu_uint64_t;

typedef seu_uint32_t seu_stk;
#define seu_STK __align(8) seu_stk

typedef void (*seu_handler_t)(int vect, void *param);

typedef enum
{
    SEU_FALSE = -1,
    SEU_TRUE = 0,
}seu_rt;

typedef enum
{
    THREAD_STATE_RUNNING,
    THREAD_STATE_SUSPEND,
    THREAD_STATE_DELETED,
}seu_thread_state;

typedef enum
{
    SEU_BLOCK,
    SEU_UNBLOCK,
}seu_pend_type;

#define seu_printf(fmt, ...) \
printf(fmt, ##__VA_ARGS__)

#endif

